<?php
class Login extends CI_Controller{
	
	function login_control(){
		$this->load->helper('security');
		
		$email = $this->input->post ( 'email' );
		$password = $this->input->post ( 'password' );
		
		$this->form_validation->set_rules('email','email','trim|required');
		$this->form_validation->set_rules('password','password','trim|required');
		$this->form_validation->set_message('required', ' %s alanı boş bırakılamaz.');
		
		if ($this->form_validation->run() == FALSE):
			
		endif;
		
		$q = $this->Login_model->login_enter();
		
	}
}
?>